@charset "utf-8";

/* header */
.header {
    width: 100%;
    height: 45px;
    background-color: #222;
    display: flex;
}

.header a, .layui-nav .layui-nav-item a {
    color: #fff;
}

.header .logo a {
    display: block;
    width: 148px;
    font-size: 18px;
    padding: 0 20px;
    line-height: 45px;
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header .action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.header .action .left-open {
    height: 45px;
}

.header .action .left-open i {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 3px;
    text-align: center;
    margin-top: 7px;
    cursor: pointer;
}

.header .action .left-open i:hover {
    background: rgba(255, 255, 255, 0.3);
}

.header .action > .top-menu {
    flex: 1;
}

.header .action .right-box {
    display: flex;
    align-items: center;
    justify-content: right;
}


.header .left {
    background-color: rgba(0, 0, 0, 0);
}

.layui-nav .layui-nav-item a {
    cursor: pointer;
}

.layui-nav .layui-nav-child a {
    color: #333;
    cursor: pointer;
}

/* top-menu start */
.header .top-menu {
    padding: 0 20px;
    display: flex;
    position: relative;
    z-index: 999;
    white-space: nowrap;
}

.header .top-menu .layui-icon,
.header .top-menu .yunj-icon {
    font-size: 12px;
}

.header .top-menu .top-menu-item {
    display: flex;
    position: relative;
}

.header .top-menu > .top-menu-item {
    flex-direction: column;
}

.header .top-menu > .top-menu-item:last-child {
    margin: 0;
}

.header .top-menu.align-right > .top-menu-item:first-child {
    margin: 0;
}

.header .top-menu > .top-menu-item,
.header .top-menu > .top-menu-item:first-child {
    margin: 0 20px 0 0;
}

.header .top-menu.align-right > .top-menu-item,
.header .top-menu.align-right > .top-menu-item:last-child {
    margin: 0 0 0 20px;
}

.header .top-menu .top-menu-item a {
    line-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .top-menu .top-menu-item a .desc .layui-icon,
.header .top-menu .top-menu-item a .desc .yunj-icon {
    margin-right: 5px;
}

.header .top-menu .top-menu-sub {
    display: none;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
}

.header .top-menu > .top-menu-item > a .layui-icon-down {
    margin-top: -2px;
    margin-left: 5px;
}

.header .top-menu .top-menu-item .top-menu-sub .top-menu-item {
    min-width: 100px;
}

.header .top-menu .top-menu-sub .top-menu-item:hover {
    background-color: #f6f6f6;
}

.header .top-menu .top-menu-sub .top-menu-item a {
    line-height: 36px;
    padding: 0 20px;
}

.header .top-menu .top-menu-sub .top-menu-item a {
    color: #333;
    flex: 1;
}

.header .top-menu .top-menu-item:hover > .top-menu-sub {
    display: block;
    position: absolute;
}

.header .top-menu > .top-menu-item:hover > a {
    color: #009688;
}

.header .top-menu > .top-menu-item:hover > a .layui-icon-down {
    transform: rotatex(180deg);
}

.header .top-menu > .top-menu-item:hover > .top-menu-sub {
    top: 45px;
}

.header .top-menu.align-right > .top-menu-item:hover > .top-menu-sub {
    right: 0;
}

.header .top-menu > .top-menu-item .top-menu-item:hover > a {
    background: #009688;
    color: #fff;
    border-color: #04564e;
}

.header .top-menu > .top-menu-item .top-menu-item:hover > .top-menu-sub {
    left: 100%;
}

.header .top-menu.align-right > .top-menu-item .top-menu-item:hover > .top-menu-sub {
    right: 100%;
}

/* top-menu end */

/* global-search start */
.global-search {
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
}

.global-search .input-box {
    display: flex;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 7px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background-color: rgba(255, 255, 255, .05);
}

.global-search .input-box input {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    border: 0;
    margin-left: 5px;
    width: 80px;
}

.global-search .input-box input::placeholder {
    color: #fff;
}

.global-search .result {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    z-index: 999;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-between;
    width: 400px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.global-search .result > .item {
    flex: 1 20%;
    display: none;
}

.global-search .result > .item a {
    color: #333;
}

.global-search .result > .item a {
    line-height: 36px;
    padding: 0 20px;
}

.global-search .result > .item:hover > a {
    color: #009688;
}

.top-menu-item .shade {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: #333;
    opacity: 0.2;
}

/* global-search end */

/* top-notice start */
.top-notice {
    position: relative;
}
.top-notice a {
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
}
.top-notice a:hover .layui-icon-notice{
    color: var(--danger-color);
}
.top-notice a .number{
    display: none;
    position: absolute;
    background-color: var(--danger-color);
    color: #fff;
    border-radius: 6px;
    font-size: 10px;
    top: 6px;
    left: 10px;
    padding: 0 2px;
    cursor: pointer;
    height: 10px;
    line-height: 10px;
}

.top-notice .content-mask {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: #333;
    opacity: 0.2;
}

.top-notice .content{
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    z-index: 999;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
}

.top-notice .content .layui-tabs-body{
    padding: 0;
}

.top-notice .content .list-box{
    max-height: 300px;
    overflow-y: auto;
}

.top-notice .content .list-items{
    display: flex;
    flex-direction: column;
}

.top-notice .content .list-items .item{
    display: flex;
    padding: 5px;
    align-items: center;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.top-notice .content .list-items .item:hover{
    background-color: #eee;
    color: var(--primary-color);
}

.top-notice .content .list-items .item>i{
    font-size: 32px;
    width: 32px;
}

.top-notice .content .list-items .item>.message{
    padding-left: 5px;
    width: 200px;
}

.top-notice .content .list-items .item>.message>.desc{
    white-space: nowrap;      /* 禁止换行 */
    overflow: hidden;         /* 超出部分隐藏 */
    text-overflow: ellipsis;  /* 显示省略号 */
    max-width: 200px;         /* 需要指定宽度 */
}

.top-notice .content .list-loading{
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.top-notice .content .action-box{
    display: flex;
    align-items: center;
    height: 35px;
}

.top-notice .content .action-box>.action{
    flex: 1;
    line-height: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.top-notice .content .action-box>.action:hover{
    background-color: #eee;
    color: var(--primary-color);
}

.top-notice .content .action-box>.sep{
    width: 1px;
    height: 12px;
    background-color: #eee;
}
/* top-notice end */

.x-slide_left {
    width: 17px;
    height: 61px;
    position: absolute;
    top: 200px;
    left: 220px;
    cursor: pointer;
    z-index: 3;
}

/* left-nav */
.left-nav {
    position: absolute;
    top: 45px;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: #eee;
    width: 220px;
    max-width: 220px;
    overflow: hidden;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

/* 滚动条宽度为0 */
.left-nav::-webkit-scrollbar {
    width: 0;
}

.left-nav #side-nav {
    width: 220px;
}

.left-nav #nav .current {
    background-color: rgba(0, 0, 0, 0.3);
}

.left-nav #nav li a {
    font-size: 14px;
    padding: 10px 15px 10px 15px;
    display: block;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.left-nav a:hover {
    background: #009688;
    color: #fff;
    border-color: #04564e !important;
}

.left-nav a.active {
    background: #009688;
    color: #fff;
    border-color: #04564e !important;
}

.left-nav #nav li a cite {
    font-size: 14px;
}

.left-nav #nav li .sub-menu {
    display: none;
}

.left-nav #nav li .opened {
    display: block;
}

.left-nav #nav li .sub-menu li a {
    padding: 12px 15px 12px 30px;
    font-size: 14px;
    cursor: pointer;
}

.left-nav #nav li .sub-menu li .sub-menu li a {
    padding-left: 45px;
}

.left-nav #nav li .sub-menu li a i {
    font-size: 12px;
}

.left-nav #nav li a i {
    padding-right: 10px;
    line-height: 14px;
}

.left-nav #nav li .li-icon-right {
    float: right;
    font-size: 14px;
}

/* page-content */
.page-content {
    position: absolute;
    top: 45px;
    right: 0;
    bottom: 0;
    left: 220px;
    overflow: hidden;
    z-index: 1;
}

.page-content .layui-tabs {
    height: 100%;
    width: 100%;
    margin: 0;
}

.page-content .layui-tabs .layui-tabs-scroll{
    padding: 0 35px;
}

.page-content .layui-tabs .layui-tabs-header{
    height: 35px;
    background: #EFEEF0;
    position: relative;
    z-index: 100;
}

.page-content .layui-tabs .layui-tabs-header li {
    height: 35px;
    line-height: 35px;
    font-size: 12px;
    color: #000;
}

.page-content .layui-tabs .layui-tabs-header li .layui-tabs-close {
    color: #c2c2c2;
}

.page-content .layui-tabs .layui-tabs-header li .layui-tabs-close:hover{
    color: #fff;
}

.page-content .layui-tabs .layui-tabs-bar .layui-icon{
    height: 35px;
    width: 35px;
    line-height: 35px;
    font-size: 12px;
    border-top: 0;
    border-bottom: 0;
    z-index: 101;
}

.page-content .layui-tabs .layui-tabs-bar .layui-icon.layui-icon-prev{
    border-left: 0;
}

.page-content .layui-tabs .layui-tabs-bar .layui-icon.layui-icon-next{
    border-right: 0;
}

.page-content .layui-tabs-body{
    position: absolute;
    top: 35px;
    bottom: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.page-content .layui-tabs-body .layui-tabs-item,
.page-content .layui-tabs-body .layui-tabs-item>iframe {
    width: 100%;
    height: 100%;
}

.page-content > .layui-tab > ul > li:first-child:after {
    border-left: 0;
}

.page-content #tab_close_panel {
    display: none;
    width: 80px;
    position: absolute;
    top: 35px;
    left: 0;
}

.page-content #tab_close_panel dl {
    top: 0;
}

.page-content #tab_close_panel dl dd:hover{
    color: var(--danger-color);
}

.page-content #tab_close_panel_content_mask,
.page-content #left_nav_open_page_content_mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    padding: 0;
    overflow: hidden;
    display: none;
    z-index: 102;
}

.page-content #tab_close_panel_content_mask {
    top: 35px;
}

@media screen and (max-width: 768px) {

    .left-nav {
        width: 60px;
    }

    .left-nav #nav li a i {
        font-size: 18px;
    }

    .left-nav cite, .left-nav .li-icon-right {
        display: none;
    }

    .page-content {
        left: 60px;
    }

    .page-content .layui-tabs-body .layui-tabs-item {
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
    }

    .x-so input.layui-input {
        width: 100%;
        margin: 10px;
    }

    .global-search .result {
        width: 300px;
    }
}